package selevert;

public class All_info {
    int id;
    String name;
    String modal;
    String color;

    public All_info(int id, String name, String modal,String color) {
        this.id = id;
        this.name = name;
        this.modal = modal;
        this.color = color;
    }

    public All_info() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getColor() {
        return color;
    }

    public void setColor(String name) {
        this.color = color;
    }

    public String getModal() {
        return modal;
    }

    public void setModal(String modal) {
        this.modal = modal;
    }

    @Override
    public String toString() {
        return "All_info{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", modal='" + modal + '\'' +
                ", color='" + color + '\'' +
                '}';
    }
}
